#include <string.h>
#include "Logger.h"
#include "OnTestMsg.h"
#include "ServerApplication.h"
#include "TestEngine.h"
using namespace xncc::user;
class ServerApp : public ServerApplication
{
  public:
    /// 构造所有的引擎
    virtual void init() override
    {
        auto test = std::make_shared<TestEngine>();
        addEventengine(test);
    }
};

XNCC_APP_MAIN(ServerApp);